package com.biz.primus.model.sso.auth.vo;

import com.biz.primus.base.enums.CommonStatus;

import java.io.Serializable;
import java.util.List;

/**
 * Created by younger on 17/11/6.
 */
public class RoleVo implements Serializable{

    private static final long serialVersionUID = -8293922796727105010L;

    private Long id;
    private String name;
    private String description;
    private Integer orderIndex;
    private CommonStatus status = CommonStatus.ENABLE;
    private List <MenuItemVO> menuItems;
    private List <ResourceVO> resources;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getOrderIndex() {
        return orderIndex;
    }

    public void setOrderIndex(Integer orderIndex) {
        this.orderIndex = orderIndex;
    }

    public CommonStatus getStatus() {
        return status;
    }

    public void setStatus(CommonStatus status) {
        this.status = status;
    }

    public List <MenuItemVO> getMenuItems() {
        return menuItems;
    }

    public void setMenuItems(List <MenuItemVO> menuItems) {
        this.menuItems = menuItems;
    }

    public List <ResourceVO> getResources() {
        return resources;
    }

    public void setResources(List <ResourceVO> resources) {
        this.resources = resources;
    }
}
